package com.chensheng.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author:ChenSheng
 * @Description:
 * @Date: Created in 上午 7:47 2018/5/15 0015
 */
@Data
public class OrderFormTest {

    @NotEmpty(message = "name必填")
    private String testName;

    @NotEmpty(message = "手机号必填")
    private String testGender;

    //@NotEmpty(message = "code必填")
    @NotNull
    private Integer testCode;

    @NotEmpty(message = "list必填")
    private String list;

}
